<template>
  <div>
    <Navigation></Navigation>
    <div class="box3">
      <div class="rd">
        <i class="iconfont">&#xe6e5;</i>
        <span class="rd2">公交查询</span>
      </div>


       <div class="rd3">
          <span> <router-link to="/road" style="text-decoration: none;color:black">线路查询</router-link></span>
           <span><router-link to="/on" style="text-decoration: none;color:black">站点查询</router-link></span>
           <span><router-link to="tw" style="text-decoration: none;color:black">换乘查询</router-link></span>
       </div>
         <!-- <one></one> -->
    
            <router-link to="/huan"><button type="button" class="rd7">点击换乘查询</button></router-link>
   </div>
    
     

</div>    

</template>

<script>
import Navigation from "../../components/Navigation.vue";
export default {
  name: "two",
  components: { Navigation },
};
</script>

<style scoped>
.box3 {
  position: absolute;
  display: flex;
  width: 50%;
  left: 25%;
  top: 25%;
  height: 60%;
  background-color: #f8f8f8;
  flex-wrap: wrap;
}
.rd {
  background-color: #50ade7;
  width: 100%;
  height: 15%;
  top: 0;
  position: relative;
}
.rd > i {
  color: white;
  font-size: 28px;
  left: 3%;
  position: relative;
  top: 25%;
}
.rd2 {
  color: white;
  font-size: 22px;
  left: 4%;
  position: relative;
  top: 25%;
}
.rd3 {
  width: 90%;
  left: 5%;
  height: 10%;
  position: relative;
  /* background-color: yellow; */
  top: -30%;
  display: flex;
  margin-top: 20%;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  border-bottom: 2px solid gray;
}
.rd3 > span {
  font-size: 16px;
  height: 70%;
}

.rd3 > span:hover,
.rd3:active {
  border-bottom: 2px solid #50ade7;
  color: #50ade7 !important;
  font-weight: bold;
}
.rd7{
    width: 10rem;
    height: 3rem;
    bottom: 2rem;
    position: relative;
    background-color: #50ade7;
    border-radius: 10px 10px 10px 10px;
    cursor: pointer;
    left: 18rem;
}
.rd7:hover{
  height: 4rem;
  background-color: rgb(76, 0, 255);
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
}

</style>
